package com.silp.baitap1;

public class songuyento2 {
	
	static int i;
	/**
	 * @param args
	 */
	public static void main(String[] args) {
		int i =2;
		kiemtra(i);

	}
	private static void kiemtra(int i2) {
		while(i<50){
			for (int j = i-1; j >1; j--) {
				if(i%j!=0){
					System.out.println(i);
				}
			}
		}

	}
}
